package com.hbnu.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hbnu.system.model.entity.Work_Qualification;

import java.util.List;

public interface IWorkQualificationService extends IService<Work_Qualification> {

    /**
     * 新增著作量化数据
     */
    boolean addWork_Qualification(Work_Qualification work_qualification);

    /**
     * 删除著作量化数据
     */
    boolean deleteWork_Qualification(String ID);

    /**
     * 单个查著作量化数据
     */
    List<Work_Qualification> getOneWork_Qualification(String WorkID);

    /**
     * 校级管理员 修改作品量化分值
     * @param work_qualification
     * @return
     */
    boolean upWorkScore(Work_Qualification work_qualification);

    Work_Qualification getById(String id);
}
